<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<#include "lib/lib.html" />
<title>评论管理</title>
</head>
<body>
	<nav class="breadcrumb">
	 	 <i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 评论管理 <span class="c-gray en">&gt;</span> 评论列表
		 <a  class="btn btn-success radius r mr-20"  style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新">
		 <i class="Hui-iconfont">&#xe68f;</i></a>
	</nav>
	<div class="pd-20 text-c">
		<div class="mt-20">
			<div id="page" class="holder"></div>  
			<table class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>
					<tr class="text-c">
						<th>ID</th>
						<th>订单ID</th>
						<th>用户ID</th>
						<th>回复角色</th>
						<th>评论描述</th>
						<th>图片</th>
						<th width="150">创建时间</th>
						<th width="150">操作</th>
					</tr>
				</thead>
				<tbody>
					<#if list?? && list?size gt 0>
					<#list list as dl >
						<tr class="text-c">
							<td>${dl.id!}</td>
							<td>${dl.orderId!}</td>
							<td>${dl.userId!}</td>
							<td>
								<#if dl.type == 1>
									洗车工
								<#elseif dl.type==2>
									管理员
								<#else>
									用户
								</#if>
							</td>
							<td>${dl.descs!}</td>
							<td><img alt="" src="${dl.images!}"> </td>
							<td>${dl.createTime?string('yyyy-MM-dd')}</td>
							<td class="td-manage">
								<a title="回复" href="javascript:;" onclick="adm_edit('回复','${basePath}/comment/goAdd.do?id=${dl.id!}','800','500')" class="ml-5" style="text-decoration:none">回复</a>
							</td> 
						</tr>
					</#list>
					</#if>
				</tbody>
			</table>
			</br>
			<div class="page_list"></div>
		</div>
	</div>
	<script type="text/javascript">

	//编辑
	function adm_edit(title, url, w, h){
		layer_show(title, url, w, h);
	}
	
	</script>
</body>
</html>